#!/user/bin/env node

const Koa = require('koa');
const app = new Koa(),
      log = console.log,
      bodyparser = require('koa-bodyparser'),
      authors = require('./routes/authors');

app.use(bodyparser({enableTypes:['json','form','text']}));
app.use(authors.routes());

app.listen(8080);
